using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.Job
{
    public partial class Show : System.Web.UI.Page
    {        
        		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					int id = int.Parse(Request.Params["id"]);
                    Navigation011.Para_Str = "id=" + id;
				    ShowInfo(id);
				}
			}
		}
		
	private void ShowInfo(int id)
	{
        Maticsoft.BLL.Jobs.Job bll = new Maticsoft.BLL.Jobs.Job();
        Maticsoft.Model.Jobs.Job model = bll.GetModel(id);
		this.lblclassId.Text=model.classId.ToString();
		this.lbljobName.Text=model.jobName;
		this.lblcount.Text=model.count.ToString();
		this.lblsex.Text=model.sex;
		this.lbleducation.Text=model.education;
		this.lbladdress.Text=model.address;
		this.lbldesc.Text=model.desc;
		this.lblrequirements.Text=model.requirements;
		this.lblremarks.Text=model.remarks;
		this.lbldeployDate.Text=model.deployDate.ToString();
		this.lblemail.Text=model.email;
		this.lblpenone.Text=model.penone;

	}


    }
}
